package com.wisdytech.linkdcs.equipment.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-07-27
 */
@TableName("TT_EQ_EQUIP_PROPERTY")
public class EquipProperty extends Model<EquipProperty> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("EQUIP_CODE")
    private String equipCode;
    @TableField("EQUIP_PROPERTY_ID")
    private String equipPropertyId;
    @TableField("EQUIP_PROPERTY_VALUE")
    private String equipPropertyValue;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getEquipCode() {
        return equipCode;
    }

    public void setEquipCode(String equipCode) {
        this.equipCode = equipCode;
    }

    public String getEquipPropertyId() {
        return equipPropertyId;
    }

    public void setEquipPropertyId(String equipPropertyId) {
        this.equipPropertyId = equipPropertyId;
    }

    public String getEquipPropertyValue() {
        return equipPropertyValue;
    }

    public void setEquipPropertyValue(String equipPropertyValue) {
        this.equipPropertyValue = equipPropertyValue;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "EquipProperty{" +
        ", pkId=" + pkId +
        ", equipCode=" + equipCode +
        ", equipPropertyId=" + equipPropertyId +
        ", equipPropertyValue=" + equipPropertyValue +
        "}";
    }
}
